<template>
	<div style='display:flex;flex-direction: column;'>
		<header-nav></header-nav>
		<router-view></router-view>
	</div>
</template>
<script type="text/javascript">
	import HeaderNav from '../components/HeaderNav'
	export default {
		components: {
			HeaderNav
		},
		mounted(){
			if(window.location.href.indexOf('=')!=-1){
				localStorage.setItem('companyId',window.location.href.split('#')[0].split('=')[1])
			}
		}
	}
</script>